package com.by.controller;

import com.by.entity.User;
import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@Setter
@Getter
@RestController
public class UserController {
   /* @Value("${user.username}")
    private String username;
    @Value("${user.password}")
    private String password;
    @RequestMapping("/hellouser")
    public User helloUser(){
        return new User(1,"张三","123456");
    }
    @RequestMapping("/quick")
    public String quick(){
        return "username==="+username+",password==="+password;
    }*/
}
